<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="sj" uri="/struts-jquery-tags"%>

<s:form name="formBody" id="formBody">

<s:hidden name="start"/>
<s:hidden name="count"/>
<s:hidden name="orderBy"/>
<s:hidden name="ascDesc"/>
<s:hidden name="previousPage"/>
<s:hidden name="gotoPage"/>
<s:hidden name="actionMethod" value="%{actionMethod}"/>
<s:token/>

<div class="header"><span><span class="ico gray administrator"></span>Daftar Sertifikat Klien</span>
</div><!-- End header -->	
<div class="content" >
	<!-- Third / Half column-->
	<div class="widgets">
		<div class="section" >
			<label>Nama Sertifikat</label>
			<div> <input type="text" name="certificate.name" class="large"/></div>
		</div>
		<div class="section" >
			<label>Nomor Sertifikat</label>
			<div> <input type="text" name="certificate.number" class="large"/></div>
			<div class="section last">
				<s:submit action="%{actionMethod}" value="Cari" indicator="indicator" cssClass="uibutton" cssStyle="width:100px"/>
			</div>
		</div>
	</div><!-- End Third / Half column-->
	
	<div class="clear"></div>

	<div class="tableName">
		<table class="display data_table1">
			<thead>
				<tr>
					<th><div class="th_wrapp"><s:text name="label.no"/></div></th>
					<th align="left">Nama Sertifikat</th>
					<th >Kelurahan</th>
					<th >Wilayah</th>
					<th><div class="th_wrapp"><s:text name="label.action"/></div></th>
				</tr>
			</thead>
			
			<tbody>
				<s:iterator value="certificates" status="sequence">
				<tr class="odd gradeX">
				    <td><s:property value="%{start+#sequence.index+1}"/></td>
					<td style="text-align:left"><s:property value="name"/></td>
					<td ><s:property value="village"/></td>
					<td ><s:property value="reqion"/></td>
					<td class="center">
						<span class="tip" >
                             <a href="SertifikatAction_add.do?id=<s:property value="%{@com.lemurian.bankdata.lite.utils.GlobalFunction@encodeParameter(id)}"/>" title="Edit" ><img src="images/icon/icon_edit.png" ></a>
                         </span> 
                         <span class="tip" >
                         	<a modulTitle="Sertifikat" modulRef="SertifikatAction_delete.do?id=<s:property value="%{@com.lemurian.bankdata.lite.utils.GlobalFunction@encodeParameter(id)}"/>" id="<s:property value="%{@com.lemurian.bankdata.lite.utils.GlobalFunction@encodeParameter(id)}"/>" class="Delete" name="<s:property value="name"/>" title="Delete"  ><img src="images/icon/icon_delete.png" ></a>
                         </span>
					</td>
				</tr>
				</s:iterator>
			</tbody>
			
		</table>
		
		<div>
			<a href="SertifikatAction_add.do" class="uibutton icon add" style="float: left" >Tambah Sertifikat</a>
			<s:property value="%{pagerItem}" escape="false"/>
			<div class="clear"></div>
		</div>

		</div>
	
   <!-- clear fix -->
<div class="clear"></div>

</div><!-- End content -->
</s:form>